<?php
namespace app\index\controller;
use think\facade\Cache;
use app\admin\controller\Base;

class Index
{
    public function index()
    {
        echo 'hello word';
        echo 'hello word';
    }

    public function hello($name = 'ThinkPHP5')
    {
        $model = model('advert');
        dump($model->find());
    }
}
